package review;

import java.io.*;

//本类用与复习IO流对象的创建
public class TestIOCreate {
    public static void main(String[] args) throws IOException {
        /*字节输入流InputStream--抽象父级--不能实例化*/
        FileInputStream in = new FileInputStream(new File(""));
        FileInputStream in2 = new FileInputStream("");
        BufferedInputStream b = new BufferedInputStream(new FileInputStream(new File("")));
        BufferedInputStream bufferedInputStream = new BufferedInputStream(new FileInputStream(""));
        /*字节输出流OutputStream*/
        OutputStream o = new FileOutputStream("");
        OutputStream o2 = new FileOutputStream("", true);
        FileOutputStream o3 = new FileOutputStream(new File(""));
        FileOutputStream o4 = new FileOutputStream(new File(""), true);
        BufferedOutputStream o5 = new BufferedOutputStream(new FileOutputStream(new File("")));
        /*字符输入流Reader*/
        Reader in5 = new FileReader("");
        Reader in6 = new FileReader(new File(""));
        BufferedReader in7 = new BufferedReader(new FileReader(""));
        BufferedReader in8 = new BufferedReader(new FileReader(new File("")));
        /*字符输出流Writer*/
        Writer w = new FileWriter("");
        FileWriter w2 = new FileWriter(new File(""));
        FileWriter w3 = new FileWriter("",true);
        Writer w4 = new FileWriter(new File(""),true);
        BufferedWriter w5 =new BufferedWriter(new FileWriter(new File("")));
        BufferedWriter w6 = new BufferedWriter(new FileWriter(""));
        BufferedWriter w7 =new BufferedWriter(new FileWriter(new File(""),true));
        BufferedWriter w8 = new BufferedWriter(new FileWriter("",true));
        

    }
}
